package tt.dz.tcp.socket.timeoff;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import tt.dz.entity.exception.BizException;

/**
 * Created by luoyp on 2016/6/13.
 * 预约指令发送超时handler
 */
public abstract class ReservationMsgTimeOffHandler extends AbstractMsgTimeOffHandler
{
	private Log log = LogFactory.getLog(ReservationMsgTimeOffHandler.class);

	protected abstract String getReservationNo();

	@Override
	public void handleTimeOff() throws BizException
	{
		String reservationNo = getReservationNo();
		log.info(reservationNo);
	}
}
